# l1 = [{'name':'bb'}, {'name':'aa'}, {'name':'cc'}]
# l1.sort(key=lambda x:x.get('name'))
#
# print(l1)




# def a():
#     for i in l1:
#         # print(i)
#         # print(sorted(i.values()))
#         print(sorted(i.items(), key=lambda x: x[0]))
#
# print(a())



# d={ 'a' :24, 'g' :52, 'l' :12, 'k' :33}
# print(sorted(d.items(),key = lambda x:x[1]))

# l = []
# for i in l:
#     print('nihao')
#     print(i)